package com.punai.standard.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.punai.common.core.domain.BaseEntity;
import com.punai.common.utils.converter.FBPatternConverter;
import com.punai.common.utils.converter.FeatureStateConverter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 标准费用项关联归口对象 sta_gx_link_gk
 *
 * @author zhx
 * @date 2023-06-26
 */
@ExcelIgnoreUnannotated
@ColumnWidth(20)
@HeadRowHeight(20)
public class StaGxLinkGk extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ExcelProperty("ID")
        private String id;

    /** 版本id */
    @ExcelIgnore
        private String versionId;

    /** 专业id */
            @ExcelProperty("专业id")
        private String specId;

    /** 标准费用项id */
            @ExcelProperty("标准费用项id")
        private String gxId;

    /** 分包模式 */
    @ExcelProperty(value = "分包模式",converter = FBPatternConverter.class)
        private String subpackagePattern;

    /** 类型:费用项or特征 */
            @ExcelProperty("类型:费用项or特征")
        private String type;

    /** 状态(0:未启用特征,1:启用特征) */
    @ExcelProperty(value = "特征启用状态",converter = FeatureStateConverter.class)
        private String featureState;

    /** 特征id */
            @ExcelProperty("特征id")
        private String featureId;

    /** 特征值 */
            @ExcelProperty("特征值")
        private String featureItem;

    /** 关联归口值 */
            @ExcelProperty("关联归口值")
        private String gkItem;

    /** 序号 */
            @ExcelProperty("序号")
        private Long orderNum;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setVersionId(String versionId)
            {
            this.versionId = versionId;
            }

    public String getVersionId()
            {
            return versionId;
            }
    public void setSpecId(String specId)
            {
            this.specId = specId;
            }

    public String getSpecId()
            {
            return specId;
            }
    public void setGxId(String gxId)
            {
            this.gxId = gxId;
            }

    public String getGxId()
            {
            return gxId;
            }
    public void setSubpackagePattern(String subpackagePattern)
            {
            this.subpackagePattern = subpackagePattern;
            }

    public String getSubpackagePattern()
            {
            return subpackagePattern;
            }
    public void setType(String type)
            {
            this.type = type;
            }

    public String getType()
            {
            return type;
            }
    public void setFeatureState(String featureState)
            {
            this.featureState = featureState;
            }

    public String getFeatureState()
            {
            return featureState;
            }
    public void setFeatureId(String featureId)
            {
            this.featureId = featureId;
            }

    public String getFeatureId()
            {
            return featureId;
            }
    public void setFeatureItem(String featureItem)
            {
            this.featureItem = featureItem;
            }

    public String getFeatureItem()
            {
            return featureItem;
            }
    public void setGkItem(String gkItem)
            {
            this.gkItem = gkItem;
            }

    public String getGkItem()
            {
            return gkItem;
            }
    public void setOrderNum(Long orderNum)
            {
            this.orderNum = orderNum;
            }

    public Long getOrderNum()
            {
            return orderNum;
            }

@Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("versionId", getVersionId())
            .append("specId", getSpecId())
            .append("gxId", getGxId())
            .append("subpackagePattern", getSubpackagePattern())
            .append("type", getType())
            .append("featureState", getFeatureState())
            .append("featureId", getFeatureId())
            .append("featureItem", getFeatureItem())
            .append("gkItem", getGkItem())
            .append("orderNum", getOrderNum())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
        .toString();
        }
        }
